package cn.itcast.service;

import cn.itcast.domain.Town;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TownService {
    List<Town> findByName(String name) throws Exception;
    PageInfo pageQuery(Integer pageNum, Integer pageSize) throws Exception;
}
